package com.ex01;

public class Rectangle implements Shape {
    double width;
    double height;
    @Override
    public double area() {
        return width * height;
    }

    @Override
    public double parameter() {
        return 2*(height + width);
    }
}
